package com.mall.util.distributed.raft.lifecycle;

import java.util.function.Consumer;

public interface Closeable {
    /**
     * close resource
     */
    void shutdown(Consumer<Boolean> consumer);
}
